<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>コントロールパネル</title>
    <link href="./assets/styles/default.css" rel="stylesheet" />
    <link href="./assets/styles/page/rank.css" rel="stylesheet" />
    <script src="./assets/scripts/libs/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="./assets/scripts/import.js" type="text/javascript"></script>

</head>
<body>

{include file='include/header.inc.html'}

<div id="container">
	<aside id="accordion">
    	<div id="aside_inner">
    		{include file='include/menu.inc.html'}
        </div>
    </aside>
    
    <article>
    	<h2><span>&nbsp;</span>Item<p><a href="javascript:;">Open Plugins</a></p></h2>
        <nav>
            <ul>
            	<li><a href="{$smarty.server.SCRIPT_NAME}"><span>検索</span></a></li>
            	<li><a href="{$smarty.server.SCRIPT_NAME}?op=regist"><span>登録</span></a></li>
            	<li class="active"><a href="{$smarty.server.SCRIPT_NAME}?op=rank"><span>表示設定</span></a></li>
            	<li><a href="{$smarty.server.SCRIPT_NAME}?op=setting"><span>基本設定</span></a></li>
            </ul>
        </nav>
        
        <section id="content" class="rank">
        
        	<h3>表示設定</h3>
                <p class="message">内容を確認し、更新ボタンをクリックしてください。</p>
					
                    <dl>
                        <dt>総合</dt>
                        <dd>
                            <a href="{$smarty.server.SCRIPT_NAME}?op=rankform&category_id=0&type=1">おすすめ</a></li>
                        </dd>
                        <dd>
                            <a href="{$smarty.server.SCRIPT_NAME}?op=rankform&category_id=0&type=2">ランキング</a>
                        </dd>
                    </dl>
                    
            {foreach from=$category_list key=k item=v}
            
            
                    <dl>
                        <dt>{$v}</dt>
                        <dd>
                            <a href="{$smarty.server.SCRIPT_NAME}?op=rankform&category_id={$k}&type=1">おすすめ</a></li>
                        </dd>
                        <dd>
                            <a href="{$smarty.server.SCRIPT_NAME}?op=rankform&category_id={$k}&type=2">ランキング</a>
                        </dd>
                    </dl>
            {/foreach}
                        </tbody>
                    </table>
                    
			</section>
    </article>
    
</div>

{include file='include/footer.inc.html'}

</body>
</html>